package com.hrm.dao;

import java.util.List;
import java.util.Map;
import com.hrm.entity.Operations;

public interface OperationsMapper {

	public int deleteOperationsById(long id);

	public Operations selectOperationsById(long id);

	public List<Operations> selectOperationsByMap(Map<String,Object> map);

	public List<Operations> selectOperations(Operations operations);

	public List<Operations> selectAllOperations();

	public int insertOperations(Operations operations);

	public int updateOperations(Operations operations);

	public int deleteOperations(Operations operations);

	public int updateOperationsByMap(Map<String,Object> map);

	public int deleteOperationsByMap(Map<String,Object> map);
	public int getAllOperationsCounts();
	public int getOperationsCounts(Operations operations);
	public int getOperationsCountsByMap(Map<String,Object> map);
}
